/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.kungkhies.jms.kungkhie.upload;

import com.kungkhies.persistence.kspace.KSpaceMessageDao;
import com.kungkhies.persistence.kungkher.KungkherDao;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * Carries out the following workflow.
 * 
 * 1. Takes a message from the kungkhie.valid.queue.
 * 2. Persists corresponding kungkhie in kungkhie-base.
 * 3. Logs process.
 * 4. Places success message in kspace.
 * 
 * @author clayton
 */
public class KungkhieValidHandler 
{
    private KungkherDao kungkherDao;
    private KSpaceMessageDao kSpaceMessageDao;
    
    @Autowired
    public KungkhieValidHandler(KungkherDao kungkherDao, KSpaceMessageDao kSpaceMessageDao)
    {
        this.kungkherDao = kungkherDao;
        this.kSpaceMessageDao = kSpaceMessageDao;
    }
    
    public void processValidKungkhie()
    {
        
    }
    
    public void persistKungkhie()
    {
        
    }
    
    public void sendKSpaceSuccessMessage()
    {
        
    }
}
